firmware-utils/mkzynfw: don't use next_offset twice (closes #7273)
authorGabor Juhos <[email protected]>
Fri, 14 May 2010 09:20:34 +0000 (09:20 +0000)
committerGabor Juhos <[email protected]>
Fri, 14 May 2010 09:20:34 +0000 (09:20 +0000)
commit3a5c67fc3afea25c0abcd3fdd36b256b2aeeb72d
tree65c5cfd3784c1d98462a3dbd9317cbe57f0569d9
parent08af03c744f21a870fae395245ae4033df16feed
firmware-utils/mkzynfw: don't use next_offset twice (closes #7273)

The test if a file can fit in an image considers the current offset
twice. So a image that would fit is too big.

Thanks-to: Michael Kurz <[email protected]>
SVN-Revision: 21445
src/mkzynfw.c